<template>
    <Person v-if="isShow" />
</template>

<script lang="ts" setup name="App">
import Person from "./components/Person.vue";
import { onMounted, ref } from "vue";
let isShow = ref(true)

onMounted(() => { console.log('父 --- 挂载完毕'); })
</script>
